package com.jsong.linuo.abstracttest;

/**
 * @Author: 黎诺
 * @CreateTime: 2025-04-23
 * @Description: 用构造方法赋值
 */

public class Test02 {
    public static void main(String[] args) {
        JavaEE javaEE = new JavaEE(1, "linuo");
        javaEE.work();
        System.out.println("===========");
        Android android = new Android(2, "小西");
        android.work();
        System.out.println("===========");
        Network network = new Network(3, "欣欣");
        network.work();
        System.out.println("===========");
        Hardware hardware = new Hardware(4, "小惠");
        hardware.work();

    }
}
